package userinfo.Entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import userlogin.Entity.UserId;

/**
 * <p>
 * 
 * </p>
 *
 * @author 小陈同学
 * @since 2023-06-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class UserInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 用户id
     */
    private Integer id;

    /**
     * 用户唯一凭证
     */
    private String openid;

    /**
     * 维修者id
     */
    private Integer repairId;

    /**
     * 用户真实姓名
     */
    private String realname;

    /**
     * 用户宿舍
     */
    private String dormmun;

    /**
     * 用户电话
     */
    private String phone;

    @TableField(exist = false)
    private UserId userId;

}
